package com.hippo.core.pojo.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * @ClassName MessageVO
 * @Description TODO 服务端发送给客户端的websocket消息
 * @Author tangxl
 * @create 2023-04-21 11:09
 **/
@Data
@Schema(description = "服务端发送给客户端的websocket消息")
public class MessageVO {
    @Schema(description = "是否是系统消息")
    private boolean isSystem;
    @Schema(description = "消息接受者id")
    private Integer fromUserId;

    @Schema(description = "消息内容")
    private String message;
}
